#include <iostream>
#include "termios.h"
#include "linenoise.h"

using namespace std;

int main() {
    struct termios term;
    long vdisable;

    vdisable = fpathconf(STDIN_FILENO, _PC_VDISABLE);
    tcgetattr(STDIN_FILENO, &term);
    cout << int(term.c_cc[VEOF]) << endl;
    return 0;
}